/**
 * Copyright (C) 2018-2020
 * All rights reserved, Designed By www.gzchengguo.cn

 */
package link.chengguo.orangemall.modules.activity.domain;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import link.chengguo.orangemall.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* @author chengguo
* @date 2020-05-13
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("Orange_store_coupon_issue_user")
public class OrangeStoreCouponIssueUser extends BaseDomain {

    @TableId
    private Long id;


    /** 领取优惠券用户ID */
    private Long uid;


    /** 优惠券前台领取ID */
    private Integer issueCouponId;




    public void copy(OrangeStoreCouponIssueUser source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
